package com.hospital.vac.exception;

/**
 * @description 用户信息统一异常处理
 * @return
 * @author ANLGIN
 * @since 2023/3/9 16:58
 */

public class CustomException extends RuntimeException {
    private String code;
    private String msg;

    public CustomException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
